-- GENERATED SPELL FOR [Val'kyr Battle-maiden] --


function spell0_28534(pUnit, Event) --@Revive,n/a--
pUnit:FullCastSpellOnTarget(51918,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28534', 2000, 1)
end

function Sorts_28534(pUnit, Event)
local choix_sorts_28534 = math.random(0, 0)
if choix_sorts_28534 == 0 then
pUnit:RegisterEvent('spell0_28534', 1, 1)
end
end

function mob28534_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28534', math.random(1500, 3000), 1)
end

function mob28534_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28534_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28534_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28534, 1, 'mob28534_Action')
RegisterUnitEvent(28534, 2, 'mob28534_Leave')
RegisterUnitEvent(28534, 3, 'mob28534_Kill')
RegisterUnitEvent(28534, 4, 'mob28534_Die')
